-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gflags dependency & misc #776
Conversation
Adding gflags travis script... hope this time it passes. |
Oh well, linker complains about gflags not compiled with -fPIC: /usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): relocation R_X86_64_32S against `std::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' can not be used when making a shared object; recompile with -fPIC Will check later when I get off work today. |
…gflags installation.
… first and then gflags.
Passed! @shelhamer @jeffdonahue if you don't object, I'll merge :) |
LGTM |
cmake .. | ||
make && make install | ||
|
||
Note that glog does not compile with the most recent gflags version (2.1), so before that is solved you will need to build with gflags first. Also note that if you have newer versions of Ubuntu, like 13.04 or 14.04, gflags may be available under apt-get. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be glog first, right? I edited in fdb1903.
Gflags dependency & misc
Gflags dependency & misc
Adding gflags dependency. tools consolidation to follow separately.
Also, changed the behavior of device query: they now output to LOG(INFO) to be consistent with other logs.
It might be the case that travis does not pass - I'll check the travis script and make it right (not a travis expert).